

<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>所属网点销量明细查询</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico"> 
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body class="white-bg animated slideIn" style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade clearfix">
      <h2 class="title_color text-center">
        <a class="col-md-6 title_color H_right H_active" style="font-size: 16px;" href="{:url('Other/toguidedaytb')}">所属导购日报表(按区域查询)</a>
        <a class="col-md-6 title_color H_right" style="font-size: 16px;color:#333;" href="{:url('Other/toguidedaytb1')}">所属导购日报表(按人查询)</a>

      </h2>
    </div>
    <!-- 标题 -->
    <div>
    <form action="" class="form-inline" id="form1">
      <table class="row-margin-top tab-content table-bordered table" border="1">
          <tr>
            <td class="text-right" style="min-width: 180px;width: 180px">区域类别：</td>
            <td>
               <label for="fenqu">
                  <input type="radio" name="areakind" id="fenqu" checked>分区
               </label>  
                <label for="province">
                  <input type="radio" name="areakind" id="province">省份
               </label> 
                <div>
                  <div class="input-group">
                 <input type="text" class="form-control" name="" id="cainian" placeholder="请输入关键字或空格查询" autocomplete="off">
                                        <div class="input-group-btn">
                                            <ul class="dropdown-menu dropdown-menu-right" role="menu" style="padding-top: 0px; max-height: 375px; max-width: 800px; overflow: auto; width: auto; transition: 0.3s; left: -179px; right: auto; min-width: 179px;">
                                            </ul>
                                        </div>
                   </div>
                   <a href="javascript:;">选择</a>
                </div>
            </td>
          </tr>
            <tr>
               <td class="text-right">范围：</td>
               <td>
                  <label for="Wholecountry">
                      <input type="radio" name="range" id="Wholecountry" checked>全国
                  </label>
                    <label for="zhiying">
                      <input type="radio" name="range" id="zhiying">直营
                  </label>
                    <label for="fzhiying">
                      <input type="radio" name="range" id="fzhiying">非直营
                  </label>
               </td>
            </tr>
          <tr>
               <td class="text-right">渠道类型：</td>
               <td>
                  <label for="allchannel">
                      <input type="radio" name="channelkind" id="allchannel" checked>全部
                  </label>
                  <label for="firstchannel">
                      <input type="radio" name="channelkind" id="firstchannel">一级渠道
                  </label>
                  <label for="secondchannel">
                      <input type="radio" name="channelkind" id="secondchannel">二级渠道
                  </label>
               </td>
            </tr>
            <tr>
                <td class="text-right">日期：</td>
                <td><input type="text" class="form-control layer-date" id="thistime" value="2018-01-22"></td>
            </tr>
         <tr>
           <td class="text-center" colspan="2">
                       <button class="btn-sm btn-info btn">查询</button><span class="lr_5"></span><button class="btn-sm btn-info btn" type="reset" id="reset">清空查询条件</button> 
                       <button class="btn btn-sm btn-info" type="button">导出Excel</button> 
                   </td>
         </tr>
         <tr>
          <td colspan="2" class="text-right">单位：元</td>
         </tr>
      </table>
    </form>
      <table class="table table-striped table-bordered table-hover bud_hei text-center">
          <tr class="info">
            <td>NO.</td>
            <td>分区</td>
            <td>零售目标</td>
            <td>当日零售</td>
            <td>零售累计</td>
            <td>销售达成</td>
            <td>同比累计</td>
            <td>同比增幅</td>
          </tr>
          <tfoot>
              <tr class="trTotal">
                <td colspan="2" class="text-right font-bold">合计：</td>
                <td>-</td>
                <td>-</td>
                <td>-</td>
                <td>-</td>
                <td>-</td>
                <td>-</td>
              </tr>
          </tfoot>
      </table>
       <!--  <h5 class="text-center"  style="font-size: 13px;font-weight: 500">
                    总共有12条记录，第1/2页,当前页<input id="page" type="text"  style="width: 40px" value="1"/><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp;
                    每页显示
                    <select id="pagesize">
                        <option value='10' selected>10条</option>
                        <option value='15'>15条</option>
                        <option value='20'>20条</option>

                    </select>
                </h5> -->
          <h3 class="text-center"><img src="__STATIC__/layout/img/zwsj.png"></h3>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
  <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
  <script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script>

    <script>

     
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
  $(document).ready(function () {
        $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })
    })   

laydate({
  elem:"#thistime",
  event:"focus"
})


           function sousuo(id){
            id.bsSuggest({
            allowNoKeyword: false, //是否允许无关键字时请求数据
            multiWord: true, //以分隔符号分割的多关键字支持
            separator: ",", //多关键字支持时的分隔符，默认为空格
            getDataMethod: "url", //获取数据的方式，总是从 URL 获取
            url: 'http://unionsug.baidu.com/su?p=3&t=' + (new Date()).getTime() + '&wd=',
            /*优先从url ajax 请求 json 帮助数据，注意最后一个参数为关键字请求参数*/
            jsonp: 'cb',
            /*如果从 url 获取数据，并且需要跨域，则该参数必须设置*/
            processData: function (json) { // url 获取数据时，对数据的处理，作为 getData 的回调函数
                var i, len, data = {
                    value: []
                };
                if (!json || !json.s || json.s.length === 0) {
                    return false;
                }

                // console.log(json);
                len = json.s.length;

                jsonStr = "{'value':[";
                for (i = 0; i < len; i++) {
                    data.value.push({
                        word: json.s[i]
                    });
                }
                data.defaults = 'baidu';

                //字符串转化为 js 对象
                return data;
            }
        });

          }

    </script>
</body>

</html>
